package edu.nf.ch06.container.test;

import edu.nf.ch06.container.ContainerFactory;
import edu.nf.ch06.container.test.service.UserService;
import edu.nf.ch06.container.test.web.UserController;

/**
 * @author wangl
 * @date 2025/4/16
 */
public class Main {

    public static void main(String[] args) {
        ContainerFactory factory = new ContainerFactory("edu.nf.ch06.container.test");
        UserController controller = factory.getBean("userController");
        controller.add();
    }
}